/*
* Copyright (c) 2017 . All Rights Reserved.
*/
package com.cgmnx.admin.service.aop;

import com.cgmnx.admin.model.enums.rbac.OperationType;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * @author: created  Date: 17/1/9 Time: 上午11:38
 * @version: 1.0
 */
@Target({ElementType.PARAMETER, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Loggable {

    String description() default "";

    OperationType type() default OperationType.DEFAULT;
}